package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 积分费率表
 * </p>
 *
 * @author wpdcn
 * @since 2020-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_score_rate")
@ApiModel
public class ShopScoreRateEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类型：1普通用户；2员工/技工；3业主
     */
    @Column(comment = "类型：1普通用户；2员工/技工；3业主")
    @ApiModelProperty("类型：1普通用户；2员工/技工；3业主")
    @TableId(value = "type", type = IdType.INPUT)
    private Integer type;

    /**
     * 费率
     */
    @Column(comment = "费率")
    @ApiModelProperty("费率")
    private Double rate;


}
